package com.ruoyi.project.business.tmpuserpost.entity;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 临工岗位关系对象 schedule_tmp_userpost
 * 
 * @author ${author}
 * @date 2024-04-03
 */
@Data
public class TmpUserpost implements Serializable {
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 临工岗位ID */
    @Excel(name = "临工岗位ID")
    private Long tmpPostId;

    /** 临工岗位名称 */
    @Excel(name = "临工岗位名称")
    private String tmpPostName;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("tmpPostId", getTmpPostId())
            .append("tmpPostName", getTmpPostName())
            .append("tenantId", getTenantId())
            .toString();
    }
}
